package com.leon.rose.modules.upms.service.impl;

import com.leon.rose.modules.upms.entity.SysRole;
import com.leon.rose.modules.upms.mapper.SysRoleMapper;
import com.leon.rose.modules.upms.service.ISysRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统角色 服务实现类
 * </p>
 *
 * @author Leon
 * @since 2019-05-05
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService {

  @Override
  public List<SysRole> listByUserId(Integer userId) {
    return baseMapper.listByUserId(userId);
  }
}
